home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1991 / Feb 91 / MacApp.Tech$ 2⁄15⁄91 / 2944-overloading vs. over-Feb91 < prev    next >
Encoding:
Text File  |  1991-03-06  |  656 b   |  32 lines  |  [TEXT/GEOL]

  1. Item    9073814                         13-Feb-91        08:00PST
  2.  
  3. From:   LALEKERMAC                      CSX Technology, W Laleker,SSF,PAS
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.  
  7. ------------------------------------------------------------------------------
  8.  
  9. Sub:    overloading vs. overriding
  10.  
  11. Fellow Macappers:
  12.  
  13. I have a question concerning the Overloading and Overridding of a function in a
  14. class and its derived class.
  15.  
  16. The following is what I would like to accomplish:
  17.  
  18. class A {
  19.    method A(char *);
  20. }
  21.  
  22. Class B::A {
  23.    method A(char *, int);
  24. }
  25.  
  26. What would be the proper way of doing this?
  27.  
  28. Thanks,
  29.  
  30. Earl Spangenberg
  31.  
  32.